package com.qqcy.authservice.clients;

import com.qqcy.loginservice.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * DATE: 2022/1/11
 * Author: huhuan
 */
@FeignClient(value = "login-service")
public interface UserClients {
    @RequestMapping("/user/findById/{uid}")
    User findById(@PathVariable("uid") Integer uid);
}
